package com.cr.admin.business.brand.pojo.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class BrandUpdateParam {
    //品牌id
    Long id;
    //品牌名字
    @NotEmpty(message = "品牌名字没写搜个屁啊吊毛!")
    @ApiModelProperty(value = "品牌名字", required = true)
    String name;
    //品牌图片
    @ApiModelProperty(value = "品牌图片", required = true)
    @NotEmpty(message = "品牌图片不能为空")
    String img;


}
